package com.telit.firecommand.service.impl;

import com.telit.firecommand.dao.FireWeatherInfoDao;
import com.telit.firecommand.entity.FireWeatherInfo;
import com.telit.firecommand.service.FireWeatherInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Auther zhouyu
 * @description 火情天气信息关联实现类
 **/
@Service
@Transactional(rollbackFor = Exception.class)
public class FireWeatherInfoServiceImpl implements FireWeatherInfoService {

    @Autowired
    private FireWeatherInfoDao fireWeatherInfoDao;


    @Override
    public FireWeatherInfo queryByFireId(Long fireId) {
        return fireWeatherInfoDao.queryByFireId(fireId);
    }
}
